package school.mapper;

import org.apache.ibatis.annotations.Param;
import school.domain.Friend;
import school.support.pojo.FriendPo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface FriendMapper extends Mapper<Friend> {


    Friend selectByUserAndFriend(@Param("userid") Integer userid, @Param("friendid")Integer friendid);

    List<FriendPo> selectByUser(Integer userid);
}
